import request from '@/utils/request';

export function viewByPageId(pageId) {
    return request({
        url: `/portal/view.action?pageId=${pageId}`,
        method: "get"
    });
}

export function shareView(token) {
    return request({
        url: `/portal/share/view.action?token=${token}`,
        method: "get"
    });
}

export function getReportJson(reportId) {
    return request({
        url: `/portal/export.action?reportId=${reportId}`,
        method: "get"
    });
}


